package com.tnl.base;

public interface Const {

	final String DEFAULT_DATE_FORMAT = "yyyy-MM-dd HH:mm:ss";
	
	final String JSON_CONTENT_TYPE="application/json; charset=utf-8";

	final String ENCODING = "UTF-8";

	/**
	 * mapper���ڰ��·��
	 */
	final String MAPPER_PAKEAGE = null;

	final String DEFAULT_PHONE_REGEX = "^((13[0-9])|(15[^4])|(18[0,2,3,5-9])|(17[0-8])|(147))\\d{8}$";

	final String DEFAULT_EMAIL_REGEX = null;

	final String DEFAULT_CHIESE_NAME_REGEX = null;

	final String DEFAULT_FOREIGN_NAME_REGEX = null;

	final String DEFAULT_URL_REGEX = null;

	final String DEFAULT_DATE_REGEX = null;

	final String DEFAULT_IDNUMBER_REGEX = null;

	final String DEFAULT_PASSPORT_REGEX = null;

	final String DEFAULT_DEFAULT_REGEX = null;

	final String RESPONSE_MSG_KEY = "msg";
	
	public final String ERROR_PAGE = "/error/error";

	final int DEFAULT_PAGE_ROW_NUM = 15;
	
	/**
	 * cookie �洢��ʱ��
	 */
	public final int COOKIE_EXPIRY=1*24*60*60;

	final String DAY_DATE_FORMAT = "yyyy-MM-dd";

	public  final String DB_HUNTERDB = "hunterdb";//mysql  
	
    final String DOMAIN = SystemConfig.getProperties("domain");

    final String APP_ID = SystemConfig.getProperties("appid");

    final String APP_SECRET = SystemConfig.getProperties("appscret");

    final String APP_KEY =SystemConfig.getProperties("app_key");

    final String MCH_ID = SystemConfig.getProperties("mch_id");  //商户号

    final String URL_UNIFIED_ORDER = "https://api.mch.weixin.qq.com/pay/unifiedorder";

    final String URL_NOTIFY = SystemConfig.getProperties("domain")+ "/tnl-wxapp/pay/wxNotify";

    final String TIME_FORMAT = "yyyyMMddHHmmss";

    public static final int TIME_EXPIRE = 2;  //单位是day
    
    public static final String SANDBOX_ORDERQUERY_URL_SUFFIX   = "/sandboxnew/pay/orderquery";
    
    public static final String ORDERQUERY_URL_SUFFIX   = "/pay/orderquery";
    
    public static final String TOKEN = "Tiaonali1c3u";  
    /*职道 update 小程序*/
	public static final String APPID_TIAONALI     = 	"wx55e844e819182d5a";//"old wx073b3dafd0ff7749";
	public static final String APPSECRET_TIAONALI = 	"fa309f1e1c238213aaefc275400301d7";//old c07af8f66ae8a1bfdc05633cf1524bc5
	public static final String EncodingAESKey_TIAONALI="KtjPnekys77d4B0UdICF5tIrhDdXPgJLLyvYBxw9F7j";
	public static final String sendApiUrl = "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token=";
	
	/*医人才小程序*/
	public static final String APPID_MEDICALPERSON     = 	"wx026e9a943f42601e";//"old wx073b3dafd0ff7749";
	public static final String APPSECRET_MEDICALPERSON = 	"6dc55fdd94af94e9c08611f969f6b3cb";//old c07af8f66ae8a1bfdc05633cf1524bc5
	 /*会猎*/
	public static final String APPID_HUNTER     = 	"wx3c02b67b861c90a0";//"wx938b8a9626cbbaba";
	public static final String APPSECRET_HUNTER = 	"80f8e30682b0c2b6c02f6f98609758e9";
	public static final String EncodingAESKey_HUNTER="wobjxUL45SoGFgG4zFNJTaPhROy39mRulh2EKgzVF37";
	//读取图片路径
	public static final String IMAGE_PATH = "https://www.tiaonali.com/tnl-hunter/rs/";
	public static final String IMAGE = "/images/face.png";
	//
	public static final String ResumeTag="简历修改";
	public static final String InterviewTag="面试辅导";
	public static final String SalaryTag="薪酬分析";
	public static final String UPTag="职业规划";
	public static final String LevalTag="离职咨询";

	 //产品名称:云通信隐私保护产品,开发者无需替换
	public static final String product = "Dyplsapi";
    //产品域名,开发者无需替换
	public static final String domain = "dyplsapi.aliyuncs.com";
	public static final String regionId="cn-suzhou";
    // TODO 此处需要替换成开发者自己的AK(在阿里云访问控制台寻找)
	public static final String accessKeyId = "LTAI4G7dMqPB6ziLDRmXZoj9";
	public static final String accessKeySecret = "12z3xDbhfCIO2sOTAlQfkp61zUoAdv";
	public static final String poolKey="FC100000068266101";
	public static final String outId="17095057022"; 
	public static final String BASE_PATH = "/usr/share/tomcat8/uploads/";
	//ali oss
	public static final String aliendpoint="http://oss-cn-shanghai.aliyuncs.com";
	public static final String alibucketName="tnl";
	public static final String alidocLocation="doc/";
	public static final String aliaccessKeyId="LTAI4G7dMqPB6ziLDRmXZoj9";
	public static final String aliaccessKeySecret="12z3xDbhfCIO2sOTAlQfkp61zUoAdv";
	public static final String aliprocess="imm/previewdoc";
	
	//zhidao 
	public static final String smsZDUid="medtalentZD";
	public static final String smsZDKey="0b30ebfb2cd76b1aa193";
	//sms yrc
	public static final String smsYRCUid="medtalent";
	public static final String smsYRCKey="c8d3a6d07b16580f1251";
	
	//send mail
	public static final String MAILHOST    = 	"smtp.trend-china.com";
	public static final String MAILUID     = 	"info@trend-china.com";
	public static final String MAILKEY     = 	"iF123456";
	
}
